﻿using DMSkin.Core.MVVM;
using DMSkin.WeChat.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Windows;

namespace DMSkin.WeChat.ViewModel
{
    public class WechatPageViewModel : ViewModelBase
    {
        /// <summary>
        /// 用户名
        /// </summary>
        private string username;

        public string Username 
        { 
            get { return username; } 
            set { username = value; OnPropertyChanged("Username"); } 
        }

        private ObservableCollection<Message> messages;

        public ObservableCollection<Message> Messages 
        { 
            get { return messages; } 
            set { messages = value; OnPropertyChanged("Messages"); } 
        }

    }
}
